package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.cdcz;

import com.gzhryc.common.api.SecurityRequest;

import java.io.Serializable;
import java.util.List;

public class CDCZFeeTemplateSaveRequest extends SecurityRequest<CDCZFeeTemplateSaveRequest.Body> {

    public CDCZFeeTemplateSaveRequest() {
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private Long id;
        private String title;
        private Double minWalletPrice;
        private Integer maxChargeTimesMinute;   //充电时长，分钟
        private Double maxChargeElectricity;    //最大充电量
        private List<String> timeSetMeal;       //时间套餐
        private List<PimItem> pimItems;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<String> getTimeSetMeal() {
            return timeSetMeal;
        }

        public void setTimeSetMeal(List<String> timeSetMeal) {
            this.timeSetMeal = timeSetMeal;
        }

        public Double getMinWalletPrice() {
            return minWalletPrice;
        }

        public void setMinWalletPrice(Double minWalletPrice) {
            this.minWalletPrice = minWalletPrice;
        }

        public Integer getMaxChargeTimesMinute() {
            return maxChargeTimesMinute;
        }

        public void setMaxChargeTimesMinute(Integer maxChargeTimesMinute) {
            this.maxChargeTimesMinute = maxChargeTimesMinute;
        }

        public Double getMaxChargeElectricity() {
            return maxChargeElectricity;
        }

        public void setMaxChargeElectricity(Double maxChargeElectricity) {
            this.maxChargeElectricity = maxChargeElectricity;
        }

        public List<PimItem> getPimItems() {
            return pimItems;
        }

        public void setPimItems(List<PimItem> pimItems) {
            this.pimItems = pimItems;
        }
    }

    public static class PimItem {

        private Double minPower;
        private Double maxPower;
        private Double price;

        public Double getMinPower() {
            return minPower;
        }

        public void setMinPower(Double minPower) {
            this.minPower = minPower;
        }

        public Double getMaxPower() {
            return maxPower;
        }

        public void setMaxPower(Double maxPower) {
            this.maxPower = maxPower;
        }

        public Double getPrice() {
            return price;
        }

        public void setPrice(Double price) {
            this.price = price;
        }
    }
}
